<!DOCTYPE html>
<html style="height: 100%;width: 100%">
<head>
    <meta charset="utf-8">
    <title>数据上传</title>
    <link rel="stylesheet" href="/up/bootstrap/bootstrap.min.css">
    <script src="/up/bootstrap/jquery.min.js"></script>
    <script src="/up/bootstrap/bootstrap.min.js"></script>
    <style type="text/css">
        /*蒙版*/
        .popWindow {
            background-color:#9D9D9D;
            width: 100%;
            height: 100%;
            left: 0;
            top: 0;
            filter: alpha(opacity=50);
            opacity: 0.5;
            z-index: 1;
            position: absolute;

        }
        .maskLayer {
            background-color:#000;
            width: 300px;
            height: 30px;
            line-height: 30px;
            left: 40%;
            top: 50%;
            color:#fff;
            z-index: 2;
            position: absolute;
            text-align:center;
        }

        .baseStyle {
            width: 30%;
            height: 500px;
            /*background: #d9d7d7;*/
            float: left;
            margin-left: 2%;
            margin-top: 10px;
            border: 2px slategray solid;
            overflow:auto
        }
        .titleFront {
            display:block;
            text-align: center;
            font-size: 20px;
            font-weight: bolder;
            background-color: #0dcaf0;
        }
        .formStyle{
            font-family: 宋体;
            font-size: 15px;
            font-weight: normal;
            color: #0c4128;
        }

        .container{
            margin-top: 15px;
        }

    </style>

</head>
<body style="height: 100%;width: 100%">
<div style="height: 60px;font-size: 30px;text-align: center;line-height:60px;background-color: #e8f2f5">数据模板生成
    <button type="button" style="float: left;margin-top: 5px;margin-left: 50px" class="btn btn-success btn-lg" onclick="uploadfile();">提交</button>
    <button type="button" style="float: right;margin-top: 5px;margin-right: 100px" class="btn btn-danger" onclick="logout();">退出</button></div>
</div>

<!--基本情况-->
<div class="baseStyle" id="jbqk">
    <label class="titleFront">基本情况</label>
    <div class="container">
        <label class="form-label">单位：</label>
        <select class="form-control formStyle" id="jbqk_dw">
            <option style="text-align: center">-----请选择单位----</option>
            <option>送变电</option>
            <option>兰州</option>
            <option>白银</option>
            <option>甘南</option>
            <option>临夏</option>

            <option>武威</option>
            <option>张掖</option>
            <option>酒泉</option>
            <option>陇南</option>
            <option>庆阳</option>

            <option>定西</option>
            <option>平凉</option>
            <option>金昌</option>
            <option>天水</option>
        </select>
    </div>
    <div class="container">
        <label class="form-label">架空输电线路运行是否正常：</label>
        <select class="form-control formStyle" id="jbqk_isZC">
        <option style="text-align: center">-----请选择运行状态----</option>
        <option>正常</option>
        <option>异常</option>
        </select>
    </div>
    <div class="container">
        <label class="form-label">重点线路条数：</label>
        <input type="text" class="form-control formStyle" id="jbqk_xlnum44" placeholder="请输入进行重点保障线路条数" />
    </div>


</div>

<!--线路故障情况-->
<div class="baseStyle" id="xlgzqk">
    <label class="titleFront">线路故障情况</label>
    <div class="container">
        <label class="form-label">单位：</label>
        <select class="form-control formStyle" id="xlgzqk_dw">
            <option style="text-align: center">-----请选择单位----</option>
            <option>送变电</option>
            <option>兰州</option>
            <option>白银</option>
            <option>甘南</option>
            <option>临夏</option>

            <option>武威</option>
            <option>张掖</option>
            <option>酒泉</option>
            <option>陇南</option>
            <option>庆阳</option>

            <option>定西</option>
            <option>平凉</option>
            <option>金昌</option>
            <option>天水</option>
        </select>
    </div>

    <div class="container">
        <label class="form-label">电压等级：</label>
        <select class="form-control formStyle" id="xlgzqk_dydj">
            <option style="text-align: center">-----请选择电压等级----</option>
            <option>1000kV</option>
            <option>±800kV</option>
            <option>750kV</option>
            <option>500kV</option>
            <option>330kV</option>

            <option>220kV</option>
            <option>110kV</option>
            <option>10kV</option>
        </select>
    </div>
    <div class="container">
        <label class="form-label">线路名称：</label>
        <input type="text" class="form-control formStyle" id="xlgzqk_xlmc" placeholder="请输入线路名称" />
    </div>
    <div class="container">
        <label class="form-label">故障时间：</label>
        <input type="text" class="form-control formStyle" id="xlgzqk_gzsj" placeholder="请输入故障时间" />
    </div>

    <div class="container">
        <label class="form-label">故障简况：</label>
        <input type="text" class="form-control formStyle" id="xlgzqk_gzjk" placeholder="请输入故障简况" />
    </div>
    <div class="container">
        <label class="form-label">故障原因：</label>
        <input type="text" class="form-control formStyle" id="xlgzqk_gzyy" placeholder="请输入故障原因" />
    </div>
    <div class="container">
        <label class="form-label">重合闸是否成功：</label>
        <select class="form-control formStyle" id="xlgzqk_chzsfcg">
            <option style="text-align: center">-----请选择重合闸状态----</option>
            <option>成功</option>
            <option>失败</option>
        </select>
    </div>
    <div class="container" style="margin-bottom: 20px">
        <label class="form-label">恢复时间：</label>
        <input type="text" class="form-control formStyle" id="xlgzqk_hfsj" placeholder="请输入恢复时间" />
    </div>
</div>

<!--值班情况-->
<div id="zbqk" class="baseStyle">
    <label class="titleFront">值班情况</label>
    <div class="container">
        <label class="form-label">单位：</label>
        <select class="form-control formStyle" id="zbqk_dw">
            <option style="text-align: center">-----请选择单位----</option>
            <option>送变电</option>
            <option>兰州</option>
            <option>白银</option>
            <option>甘南</option>
            <option>临夏</option>

            <option>武威</option>
            <option>张掖</option>
            <option>酒泉</option>
            <option>陇南</option>
            <option>庆阳</option>

            <option>定西</option>
            <option>平凉</option>
            <option>金昌</option>
            <option>天水</option>
        </select>
    </div>
    <div class="container">
        <label class="form-label">日期：</label>
        <input type="text" class="form-control formStyle" id="zbqk_hfsj" placeholder="请输入日期" />
    </div>
    <div class="container zbqk_people_list"  style="border: 1px seagreen solid;width: 90%;margin-bottom: 15px">
        <p class="people_p" style="margin-left: 40%">值班人员<span class="people_num">1</span></p>
        <div class="container">
            <label class="form-label">值班人员姓名：</label>
            <input type="text" class="form-control formStyle zbqk_zbry"  placeholder="请输入值班人员姓名" />
        </div>
        <div class="container">
            <label class="form-label">值班时间：</label>
            <input type="text" class="form-control formStyle zbqk_zbsj"  placeholder="请输入值班时间" />
        </div>
        <div class="container">
            <label class="form-label">值班座机：</label>
            <input type="text" class="form-control formStyle zbqk_zbzj"  placeholder="请输入值班座机" />
        </div>
        <div class="container" style="margin-bottom:20px;">
            <label class="form-label">值班人员手机号码：</label>
            <input type="text" class="form-control formStyle zbqk_sjhm"  placeholder="请输入值班人员手机号码" />
        </div>

    </div>

    <button type="button" class="btn btn-success btn-xs"
            style="margin-bottom:20px;margin-left: 40%;padding: 1px 5px;font-size: 12px;line-height: 1.5;border-radius: 3px;" onclick="addPeople();">添加人员</button>

</div>
<!--在线监测-->
<div id="zxjc" class="baseStyle">
    <label class="titleFront">在线监测</label>
    <div class="container">
        <label class="form-label">单位：</label>
        <select class="form-control formStyle" id="zxjc_dw">
            <option style="text-align: center">-----请选择单位----</option>
            <option>送变电</option>
            <option>兰州</option>
            <option>白银</option>
            <option>甘南</option>
            <option>临夏</option>

            <option>武威</option>
            <option>张掖</option>
            <option>酒泉</option>
            <option>陇南</option>
            <option>庆阳</option>

            <option>定西</option>
            <option>平凉</option>
            <option>金昌</option>
            <option>天水</option>
        </select>
    </div>
    <div class="container">
        <label class="form-label">可视化-合计：</label>
        <input type="text" class="form-control formStyle" id="zxjc_ksh_hj" placeholder="请输入可视化-合计数量" />
    </div>
    <div class="container">
        <label class="form-label">可视化-在线：</label>
        <input type="text" class="form-control formStyle" id="zxjc_ksh_zx" placeholder="请输入可视化-在线数量" />
    </div>
    <div class="container">
        <label class="form-label">覆冰在线监测-合计：</label>
        <input type="text" class="form-control formStyle" id="zxjc_fb_hj" placeholder="请输入覆冰在线监测-合计数量" />
    </div>
    <div class="container">
        <label class="form-label">覆冰在线监测-在线：</label>
        <input type="text" class="form-control formStyle" id="zxjc_fb_zx" placeholder="请输入覆冰在线监测-在线数量" />
    </div>
    <div class="container">
        <label class="form-label">分布式故障诊断装置（套）-合计：</label>
        <input type="text" class="form-control formStyle" id="zxjc_fbsgzzd_hj" placeholder="请输入分布式故障诊断装置-合计数量" />
    </div>
    <div class="container">
        <label class="form-label">分布式故障诊断装置（套）-在线：</label>
        <input type="text" class="form-control formStyle" id="zxjc_fbsgzzd_zx" placeholder="请输入分布式故障诊断装置-在线数量" />
    </div>
    <div class="container" style="margin-bottom:20px;">
        <label class="form-label">备注：</label>
        <input type="text" class="form-control formStyle" id="zxjc_bz" placeholder="请输入备注" />
    </div>
</div>
<!--保电开展情况-->
<div id="bdkzqk" class="baseStyle">
    <label class="titleFront">保电开展情况</label>
    <div class="container">
        <label class="form-label">单位：</label>
        <select class="form-control formStyle" id="bdkzqk_dw">
            <option style="text-align: center">-----请选择单位----</option>
            <option>送变电</option>
            <option>兰州</option>
            <option>白银</option>
            <option>甘南</option>
            <option>临夏</option>

            <option>武威</option>
            <option>张掖</option>
            <option>酒泉</option>
            <option>陇南</option>
            <option>庆阳</option>

            <option>定西</option>
            <option>平凉</option>
            <option>金昌</option>
            <option>天水</option>
        </select>
    </div>
    <div class="container">
        <label class="form-label">出动巡视人员-组：</label>
        <input type="text" class="form-control formStyle" id="bdkzqk_cdxsry_z" placeholder="请输入出动巡视人员-组数量" />
    </div>
    <div class="container">
        <label class="form-label">出动巡视人员-人数：</label>
        <input type="text" class="form-control formStyle" id="bdkzqk_cdxsry_rs" placeholder="请输入出动巡视人员-人数数量" />
    </div>
    <div class="container">
        <label class="form-label">出动巡视人员-车辆：</label>
        <input type="text" class="form-control formStyle" id="bdkzqk_cdxsry_cl" placeholder="请输入出动巡视人员-车辆数量" />
    </div>
    <div class="container">
        <label class="form-label">出动巡视人员-无人机：</label>
        <input type="text" class="form-control formStyle" id="bdkzqk_cdxsry_wrj" placeholder="请输入出动巡视人员-无人机数量" />
    </div>
    <div class="container">
        <label class="form-label">巡视线路（条）：</label>
        <input type="text" class="form-control formStyle" id="bdkzqk_xsxl" placeholder="请输入巡视线路数量" />
    </div>
    <div class="container">
        <label class="form-label">杆塔数：</label>
        <input type="text" class="form-control formStyle" id="bdkzqk_gt" placeholder="请输入杆塔数量" />
    </div>
    <div class="container">
        <label class="form-label">公里数：</label>
        <input type="text" class="form-control formStyle" id="bdkzqk_gls" placeholder="请输入公里数" />
    </div>
    <div class="container">
        <label class="form-label">隐患蹲守-隐患点（处）：</label>
        <input type="text" class="form-control formStyle" id="bdkzqk_yhds_yhd" placeholder="请输入隐患蹲守-隐患点数量" />
    </div>
    <div class="container">
        <label class="form-label">隐患蹲守-组：</label>
        <input type="text" class="form-control formStyle" id="bdkzqk_yhds_z" placeholder="请输入隐患蹲守-组数量" />
    </div>
    <div class="container">
        <label class="form-label">隐患蹲守-人数：</label>
        <input type="text" class="form-control formStyle" id="bdkzqk_yhds_rs" placeholder="请输入隐患蹲守-人数" />
    </div>
    <div class="container">
        <label class="form-label">跨森林草原区段-线路条数：</label>
        <input type="text" class="form-control formStyle" id="bdkzqk_kslcyqd_xlts" placeholder="请输入跨森林草原区段-线路条数量" />
    </div>
    <div class="container">
        <label class="form-label">跨森林草原区段-组：</label>
        <input type="text" class="form-control formStyle" id="bdkzqk_kslcyqd_z" placeholder="请输入跨森林草原区段-组数量" />
    </div>
    <div class="container">
        <label class="form-label">跨森林草原区段-人数：</label>
        <input type="text" class="form-control formStyle" id="bdkzqk_kslcyqd_rs" placeholder="请输入跨森林草原区段-人数量" />
    </div>
    <div class="container">
        <label class="form-label">跨森林草原区段-车辆：</label>
        <input type="text" class="form-control formStyle" id="bdkzqk_kslcyqd_cl" placeholder="请输入跨森林草原区段-车辆数量" />
    </div>
    <div class="container" style="margin-bottom:20px;">
        <label class="form-label">跨森林草原区段-无人机：</label>
        <input type="text" class="form-control formStyle" id="bdkzqk_kslcyqd_wrj" placeholder="请输入出动巡视人员-无人机数量" />
    </div>
</div>

<!--应急响应情况-->
<div id="yjxyqk" class="baseStyle">
    <label class="titleFront">应急响应情况</label>
    <div class="container">
        <label class="form-label">单位：</label>
        <select class="form-control formStyle" id="yjxyqk_dw">
            <option style="text-align: center">-----请选择单位----</option>
            <option>送变电</option>
            <option>兰州</option>
            <option>白银</option>
            <option>甘南</option>
            <option>临夏</option>

            <option>武威</option>
            <option>张掖</option>
            <option>酒泉</option>
            <option>陇南</option>
            <option>庆阳</option>

            <option>定西</option>
            <option>平凉</option>
            <option>金昌</option>
            <option>天水</option>
        </select>
    </div>
    <div class="container yjxyqk_list"  style="border: 1px seagreen solid;width: 90%;margin-bottom: 15px">
        <p class="people_p" style="margin-left: 40%">抢修队伍<span class="people_num">1</span></p>
        <div class="container">
            <label class="form-label">抢修队伍：</label>
            <input type="text" class="form-control formStyle yjxyqk_qxdw" placeholder="请输入抢修队伍" />
        </div>
        <div class="container">
            <label class="form-label">抢修人员：</label>
            <input type="text" class="form-control formStyle yjxyqk_qxry" placeholder="请输入抢修人员" />
        </div>
        <div class="container">
            <label class="form-label">线路名称：</label>
            <input type="text" class="form-control formStyle yjxyqk_xlmc" placeholder="请输入抢修人员" />
        </div>
        <div class="container">
            <label class="form-label">抢修时间：</label>
            <input type="text" class="form-control formStyle yjxyqk_qxsj"  placeholder="请输入抢修时间" />
        </div>
        <div class="container" style="margin-bottom:20px;">
            <label class="form-label">处置情况：</label>
            <textarea type="text" class="form-control formStyle yjxyqk_czqk"  placeholder="请输入处置情况" ></textarea>
        </div>

    </div>

    <button type="button" class="btn btn-success btn-xs"
            style="margin-bottom:20px;margin-left: 40%;padding: 1px 5px;font-size: 12px;line-height: 1.5;border-radius: 3px;" onclick="addQXDW();">添加队伍</button>
</div>
<!--明日值班安排-->
<div id="mrzbap" class="baseStyle">
    <label class="titleFront">明日值班安排</label>
    <div class="container">
        <label class="form-label">单位：</label>
        <select class="form-control formStyle" id="mrzbap_dw">
            <option style="text-align: center">-----请选择单位----</option>
            <option>送变电</option>
            <option>兰州</option>
            <option>白银</option>
            <option>甘南</option>
            <option>临夏</option>

            <option>武威</option>
            <option>张掖</option>
            <option>酒泉</option>
            <option>陇南</option>
            <option>庆阳</option>

            <option>定西</option>
            <option>平凉</option>
            <option>金昌</option>
            <option>天水</option>
        </select>
    </div>
    <div class="container">
        <label class="form-label">日期：</label>
        <input type="text" class="form-control formStyle" id="mrzbap_hfsj" placeholder="请输入日期" />
    </div>
    <div class="container">
        <label class="form-label">24小时值班</label>
        <input type="text" class="form-control formStyle" id="mrzbap_24xs" placeholder="请输入" />
    </div>
    <div class="container mrzbap_people_list"  style="border: 1px seagreen solid;width: 90%;margin-bottom: 15px">
        <p class="people_p" style="margin-left: 40%">明日值班人员<span class="people_num">1</span></p>
        <div class="container">
            <label class="form-label">值班人员姓名：</label>
            <input type="text" class="form-control formStyle mrzbap_zbry"  placeholder="请输入值班人员姓名" />
        </div>
        <div class="container">
            <label class="form-label">值班时间：</label>
            <input type="text" class="form-control formStyle mrzbap_zbsj"  placeholder="请输入值班时间" />
        </div>
        <div class="container">
            <label class="form-label">值班座机：</label>
            <input type="text" class="form-control formStyle mrzbap_zbzj"  placeholder="请输入值班座机" />
        </div>
        <div class="container" style="margin-bottom:20px;">
            <label class="form-label">值班人员手机号码：</label>
            <input type="text" class="form-control formStyle mrzbap_sjhm"  placeholder="请输入值班人员手机号码" />
        </div>

    </div>

    <button type="button" class="btn btn-success btn-xs"
            style="margin-bottom:20px;margin-left: 40%;padding: 1px 5px;font-size: 12px;line-height: 1.5;border-radius: 3px;" onclick="addMRZBAP();">添加人员</button>

</div>
<!--明日保电工作安排-->
<div id="mrbdgzap" class="baseStyle">
    <label class="titleFront">明日保电工作安排</label>
    <div class="container">
        <label class="form-label">单位：</label>
        <select class="form-control formStyle" id="mrbdkzqk_dw">
            <option style="text-align: center">-----请选择单位----</option>
            <option>送变电</option>
            <option>兰州</option>
            <option>白银</option>
            <option>甘南</option>
            <option>临夏</option>

            <option>武威</option>
            <option>张掖</option>
            <option>酒泉</option>
            <option>陇南</option>
            <option>庆阳</option>

            <option>定西</option>
            <option>平凉</option>
            <option>金昌</option>
            <option>天水</option>
        </select>
    </div>
    <div class="container">
        <label class="form-label">出动巡视人员-组：</label>
        <input type="text" class="form-control formStyle" id="mrbdkzqk_cdxsry_z" placeholder="请输入出动巡视人员-组数量" />
    </div>
    <div class="container">
        <label class="form-label">出动巡视人员-人数：</label>
        <input type="text" class="form-control formStyle" id="mrbdkzqk_cdxsry_rs" placeholder="请输入出动巡视人员-人数数量" />
    </div>
    <div class="container">
        <label class="form-label">出动巡视人员-车辆：</label>
        <input type="text" class="form-control formStyle" id="mrbdkzqk_cdxsry_cl" placeholder="请输入出动巡视人员-车辆数量" />
    </div>
    <div class="container">
        <label class="form-label">出动巡视人员-无人机：</label>
        <input type="text" class="form-control formStyle" id="mrbdkzqk_cdxsry_wrj" placeholder="请输入出动巡视人员-无人机数量" />
    </div>
    <div class="container">
        <label class="form-label">巡视线路（条）：</label>
        <input type="text" class="form-control formStyle" id="mrbdkzqk_xsxl" placeholder="请输入巡视线路数量" />
    </div>
    <div class="container">
        <label class="form-label">杆塔数：</label>
        <input type="text" class="form-control formStyle" id="mrbdkzqk_gt" placeholder="请输入杆塔数量" />
    </div>
    <div class="container">
        <label class="form-label">公里数：</label>
        <input type="text" class="form-control formStyle" id="mrbdkzqk_gls" placeholder="请输入公里数" />
    </div>
    <div class="container">
        <label class="form-label">隐患蹲守-隐患点（处）：</label>
        <input type="text" class="form-control formStyle" id="mrbdkzqk_yhds_yhd" placeholder="请输入隐患蹲守-隐患点数量" />
    </div>
    <div class="container">
        <label class="form-label">隐患蹲守-组：</label>
        <input type="text" class="form-control formStyle" id="mrbdkzqk_yhds_z" placeholder="请输入隐患蹲守-组数量" />
    </div>
    <div class="container">
        <label class="form-label">隐患蹲守-人数：</label>
        <input type="text" class="form-control formStyle" id="mrbdkzqk_yhds_rs" placeholder="请输入隐患蹲守-人数" />
    </div>
    <div class="container">
        <label class="form-label">跨森林草原区段-线路条数：</label>
        <input type="text" class="form-control formStyle" id="mrbdkzqk_kslcyqd_xlts" placeholder="请输入跨森林草原区段-线路条数量" />
    </div>
    <div class="container">
        <label class="form-label">跨森林草原区段-组：</label>
        <input type="text" class="form-control formStyle" id="mrbdkzqk_kslcyqd_z" placeholder="请输入跨森林草原区段-组数量" />
    </div>
    <div class="container">
        <label class="form-label">跨森林草原区段-人数：</label>
        <input type="text" class="form-control formStyle" id="mrbdkzqk_kslcyqd_rs" placeholder="请输入跨森林草原区段-人数量" />
    </div>
    <div class="container">
        <label class="form-label">跨森林草原区段-车辆：</label>
        <input type="text" class="form-control formStyle" id="mrbdkzqk_kslcyqd_cl" placeholder="请输入跨森林草原区段-车辆数量" />
    </div>
    <div class="container" style="margin-bottom:20px;">
        <label class="form-label">跨森林草原区段-无人机：</label>
        <input type="text" class="form-control formStyle" id="mrbdkzqk_kslcyqd_wrj" placeholder="请输入出动巡视人员-无人机数量" />
    </div>
</div>
</div>
<!--保电重要事项-->
<div id="bdzysx" class="baseStyle">
    <label class="titleFront">保电重要事项</label>
    <div class="container" style="margin-bottom:20px;">
        <label class="form-label">处置情况：</label>
        <textarea type="text" class="form-control formStyle" id="bdzysx_textarea" placeholder="请输入保电重要事项" ></textarea>
    </div>
</div>
<div id="popWindow" class="popWindow" style="display: none;">
    <div id="maskLayer" class="maskLayer" style="display: none;">
        <span >正在上传中，请耐心等待。。。。</span>
    </div>
<!--天气情况-->
<!--<div class="baseStyle">-->
<!--    <label class="titleFront">天气情况</label>-->
<!--</div>-->
</body>
<script>
    $(function(){
        var item = localStorage.getItem("report-token");
        if (item==null||item==''){
            window.location = './login'
        }
    });
    function logout(){
        localStorage.removeItem("report-token");
        window.location = './login'
    }
    function addPeople(){
        var length=$(".zbqk_people_list").length
        var html = $(".zbqk_people_list").eq(0).children(".people_p").children(".people_num").html(length+1)

        var html = $(".zbqk_people_list").eq(0).clone();
        $(".zbqk_people_list:last").after(html);
        var html = $(".zbqk_people_list").eq(0).children(".people_p").children(".people_num").html(1)
    }
    function addQXDW(){
        var length=$(".yjxyqk_list").length
        var html = $(".yjxyqk_list").eq(0).children(".people_p").children(".people_num").html(length+1)

        var html = $(".yjxyqk_list").eq(0).clone();
        $(".yjxyqk_list:last").after(html);
        var html = $(".yjxyqk_list").eq(0).children(".people_p").children(".people_num").html(1)
    }
    function addMRZBAP(){
        var length=$(".mrzbap_people_list").length
        var html = $(".mrzbap_people_list").eq(0).children(".people_p").children(".people_num").html(length+1)

        var html = $(".mrzbap_people_list").eq(0).clone();
        $(".mrzbap_people_list:last").after(html);
        var html = $(".mrzbap_people_list").eq(0).children(".people_p").children(".people_num").html(1)
    }

    function uploadfile(){
        var list = [];
        debugger
        showDiv()
        //************************************得到基础情况
        var jbqk_dw = $("#jbqk_dw  option:selected").val()
        var jbqk_isZC = $("#jbqk_isZC  option:selected").val()
        var jbqk_xlnum44 = $("#jbqk_xlnum44").val();
        var baseInfo = {"company":jbqk_dw,"lineNormal":jbqk_isZC,"keyLines":jbqk_xlnum44};
        //************************************线路故障情况
        var xlgzqk_dw = $("#xlgzqk_dw  option:selected").val()
        var xlgzqk_dydj = $("#xlgzqk_dydj  option:selected").val()
        var xlgzqk_xlmc = $("#xlgzqk_xlmc").val();
        var xlgzqk_gzsj = $("#xlgzqk_gzsj").val()
        var xlgzqk_gzjk = $("#xlgzqk_gzjk").val()
        var xlgzqk_gzyy = $("#xlgzqk_gzyy").val();
        var xlgzqk_chzsfcg = $("#xlgzqk_chzsfcg  option:selected").val()
        var xlgzqk_hfsj = $("#xlgzqk_hfsj").val()

        var lineFailureInfo = {"company":xlgzqk_dw,"vlevel":xlgzqk_dydj,"lineName":xlgzqk_xlmc,
            "faultTime":xlgzqk_gzsj,"faultProfile":xlgzqk_gzjk,"faultReason":xlgzqk_gzyy,"successful":xlgzqk_chzsfcg,"recoveryTime":xlgzqk_hfsj};
        //************************************值班情况
        var zbqk_dw = $("#zbqk_dw  option:selected").val()
        var zbqk_hfsj = $("#zbqk_hfsj").val()
        //遍历长度组装数据
        var zbqk_list = [];
        var length = $(".zbqk_people_list").length;
        $(".zbqk_people_list").each(function(i){
            var zbqk_zbry = $(this).find(".zbqk_zbry").val();
            var zbqk_zbsj = $(this).find(".zbqk_zbsj").val();
            var zbqk_zbzj = $(this).find(".zbqk_zbzj").val();
            var zbqk_sjhm = $(this).find(".zbqk_sjhm").val();
            var dutyInfo = {"company":zbqk_dw,"date":zbqk_hfsj,"time":zbqk_zbsj,
                "operator":zbqk_zbry,"plane":zbqk_zbzj,"phone":zbqk_sjhm};
            zbqk_list.push(dutyInfo)
        });

        //************************************在线监测
        var zxjc_dw = $("#zxjc_dw  option:selected").val()
        var zxjc_ksh_hj = $("#zxjc_ksh_hj").val()
        var zxjc_ksh_zx = $("#zxjc_ksh_zx").val();
        var zxjc_fb_zx = $("#zxjc_fb_zx").val()
        var zxjc_fb_hj = $("#zxjc_fb_hj").val()
        var zxjc_fbsgzzd_hj = $("#zxjc_fbsgzzd_hj").val();
        var zxjc_fbsgzzd_zx = $("#zxjc_fbsgzzd_zx").val()
        var zxjc_bz = $("#zxjc_bz").val()

        var onlineInspectionInfo = {"company":zxjc_dw,"visualOline":zxjc_ksh_zx,"visualCount":zxjc_ksh_hj,
            "iceOline":zxjc_fb_zx,"iceCount":zxjc_fb_hj,"factoryOline":zxjc_fbsgzzd_zx,"factoryCount":zxjc_fbsgzzd_hj,"des":zxjc_bz};
        //************************************保电开展情况
        var bdkzqk_dw = $("#bdkzqk_dw  option:selected").val()
        var bdkzqk_cdxsry_z = $("#bdkzqk_cdxsry_z").val()
        var bdkzqk_cdxsry_rs = $("#bdkzqk_cdxsry_rs").val();
        var bdkzqk_cdxsry_cl = $("#bdkzqk_cdxsry_cl").val()
        var bdkzqk_cdxsry_wrj = $("#bdkzqk_cdxsry_wrj").val()
        var bdkzqk_xsxl = $("#bdkzqk_xsxl").val()
        var bdkzqk_gt = $("#bdkzqk_gt").val()
        var bdkzqk_gls = $("#bdkzqk_gls").val();
        var bdkzqk_yhds_yhd = $("#bdkzqk_yhds_yhd").val()
        var bdkzqk_yhds_z = $("#bdkzqk_yhds_z").val()
        var bdkzqk_yhds_rs = $("#bdkzqk_yhds_rs").val()
        var bdkzqk_kslcyqd_z = $("#bdkzqk_kslcyqd_z").val()
        var bdkzqk_kslcyqd_rs = $("#bdkzqk_kslcyqd_rs").val();
        var bdkzqk_kslcyqd_cl = $("#bdkzqk_kslcyqd_cl").val()
        var bdkzqk_kslcyqd_wrj = $("#bdkzqk_kslcyqd_wrj").val()
        var bdkzqk_kslcyqd_xlts = $("#bdkzqk_kslcyqd_xlts").val()


        var bdInfo = {"company":bdkzqk_dw,"groupCount":bdkzqk_cdxsry_z,"personCount":bdkzqk_cdxsry_rs,
            "carCount":bdkzqk_cdxsry_cl,"rtzCount":bdkzqk_cdxsry_wrj,"towerCount":bdkzqk_gt,"lineCount":bdkzqk_xsxl,"kmCount":bdkzqk_gls,"yhCount":bdkzqk_yhds_yhd,
            "yhGroup":bdkzqk_yhds_z,"yhPerson":bdkzqk_yhds_rs,"cyGroup":bdkzqk_kslcyqd_z,"cyPerson":bdkzqk_kslcyqd_rs,
            "cyCar":bdkzqk_kslcyqd_cl,"cyRtz":bdkzqk_kslcyqd_wrj,"cyLine":bdkzqk_kslcyqd_xlts};
        //************************************明日值班情况
        var mrzbap_dw = $("#mrzbap_dw  option:selected").val()
        var mrzbap_hfsj = $("#mrzbap_hfsj").val()
        var mrzbap_24xs = $("#mrzbap_24xs").val()
        //遍历长度组装数据
        var mrzbap_list = [];
        $(".mrzbap_people_list").each(function(i){
            var mrzbap_zbry = $(this).find(".mrzbap_zbry").val();
            var mrzbap_zbsj = $(this).find(".mrzbap_zbsj").val();
            var mrzbap_zbzj = $(this).find(".mrzbap_zbzj").val();
            var mrzbap_sjhm = $(this).find(".mrzbap_sjhm").val();
            var tomorrowDutyInfo = {"company":mrzbap_dw,"date":mrzbap_hfsj,"time":mrzbap_zbsj,
                "operator":mrzbap_zbry,"plane":mrzbap_zbzj,"phone":mrzbap_sjhm,"hour24":mrzbap_24xs};
            mrzbap_list.push(tomorrowDutyInfo)
        });
        //************************************应急响应情况
        var yjxyqk_dw = $("#yjxyqk_dw  option:selected").val()
        var mrzbap_hfsj = $("#mrzbap_hfsj").val()
        var mrzbap_24xs = $("#mrzbap_24xs").val()
        //遍历长度组装数据
        var yjxyqk_list = [];
        $(".yjxyqk_list").each(function(i){
            var yjxyqk_qxdw = $(this).find(".yjxyqk_qxdw").val();
            var yjxyqk_qxry = $(this).find(".yjxyqk_qxry").val();
            var yjxyqk_qxsj = $(this).find(".yjxyqk_qxsj").val();
            var yjxyqk_czqk = $(this).find(".yjxyqk_czqk").val();
            var yjxyqk_xlmc = $(this).find(".yjxyqk_xlmc").val();
            var EmergencyResponseInfo = {"company":yjxyqk_dw,"team":yjxyqk_qxdw,
                "person":yjxyqk_qxry,
                "time":yjxyqk_qxsj,"line":yjxyqk_xlmc,
                "dispositionInfo":yjxyqk_czqk};
            yjxyqk_list.push(EmergencyResponseInfo)
        });

        //************************************明日保电工作安排
        var mrbdkzqk_dw = $("#mrbdkzqk_dw  option:selected").val()
        var mrbdkzqk_cdxsry_z = $("#mrbdkzqk_cdxsry_z").val()
        var mrbdkzqk_cdxsry_rs = $("#mrbdkzqk_cdxsry_rs").val();
        var mrbdkzqk_cdxsry_cl = $("#mrbdkzqk_cdxsry_cl").val()
        var mrbdkzqk_cdxsry_wrj = $("#mrbdkzqk_cdxsry_wrj").val()
        var mrbdkzqk_xsxl = $("#mrbdkzqk_xsxl").val()
        var mrbdkzqk_gt = $("#mrbdkzqk_gt").val()
        var mrbdkzqk_gls = $("#mrbdkzqk_gls").val();
        var mrbdkzqk_yhds_yhd = $("#mrbdkzqk_yhds_yhd").val()
        var mrbdkzqk_yhds_z = $("#mrbdkzqk_yhds_z").val()
        var mrbdkzqk_yhds_rs = $("#mrbdkzqk_yhds_rs").val()
        var mrbdkzqk_kslcyqd_z = $("#mrbdkzqk_kslcyqd_z").val()
        var mrbdkzqk_kslcyqd_rs = $("#mrbdkzqk_kslcyqd_rs").val();
        var mrbdkzqk_kslcyqd_cl = $("#mrbdkzqk_kslcyqd_cl").val()
        var mrbdkzqk_kslcyqd_wrj = $("#mrbdkzqk_kslcyqd_wrj").val()
        var mrbdkzqk_kslcyqd_xlts = $("#mrbdkzqk_kslcyqd_xlts").val()


        var tomorrowBdInfo = {"company":mrbdkzqk_dw,"groupCount":mrbdkzqk_cdxsry_z,"personCount":mrbdkzqk_cdxsry_rs,
            "carCount":mrbdkzqk_cdxsry_cl,"rtzCount":mrbdkzqk_cdxsry_wrj,"towerCount":mrbdkzqk_gt,"lineCount":mrbdkzqk_xsxl,"kmCount":mrbdkzqk_gls,"yhCount":mrbdkzqk_yhds_yhd,
            "yhGroup":mrbdkzqk_yhds_z,"yhPerson":mrbdkzqk_yhds_rs,"cyGroup":mrbdkzqk_kslcyqd_z,"cyPerson":mrbdkzqk_kslcyqd_rs,
            "cyCar":mrbdkzqk_kslcyqd_cl,"cyRtz":mrbdkzqk_kslcyqd_wrj,"cyLine":mrbdkzqk_kslcyqd_xlts};
        //************************************保电重大事件
        var bdzysx_textarea = $("#bdzysx_textarea").val()

        var bdImportantMatter = {"bdMatter":bdzysx_textarea};
        $.ajax({
            type: 'post',
            url: '/up/report/save',
            dataType: "json",
            contentType : 'application/json;charset=utf-8',
            data: JSON.stringify({                     // 把键值对格式转化为字符串
                'baseInfo':baseInfo,
                'lineFailureInfo':lineFailureInfo,
                "dutyInfos":zbqk_list,
                "onlineInspectionInfo":onlineInspectionInfo,
                "emergencyResponseInfo":yjxyqk_list,
                "bdInfo":bdInfo,
                "tomorrowDutyInfo":mrzbap_list,
                "tomorrowBdInfo":tomorrowBdInfo,
                "bdImportantMatter":bdImportantMatter

            }),
            cache: false,
            success: function(data){
                if (data.code==200){
                    closeDiv()
                    alert(data.msg)
                }



            },
            error: function(XMLHttpRequest, textStatus, errorThrown) {
                alert(textStatus);
            },
        })

    }
    function showDiv() {
        document.getElementById('popWindow').style.display = 'block';
        document.getElementById('maskLayer').style.display = 'block';
    }
    function closeDiv() {
        document.getElementById('popWindow').style.display = 'none';
        document.getElementById('maskLayer').style.display = 'none';
    }

</script>
</html>